Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Conversation

@nazarhussain
Copy link
Contributor

Description

Fixes #5125

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have selected the correct base branch.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • Any dependent changes have been merged and published in downstream modules.
  • I ran npm run dtslint with success and extended the tests and types if necessary.
  • I ran npm run test:cov and my test cases cover all the lines and branches of the added code.
  • I ran npm run build with success.
  • I have tested the built dist/web3.min.js in a browser.
  • I have tested my code on the live network.
  • I have checked the Deploy Preview and it looks correct.
  • I have updated the CHANGELOG.md file in the root folder.

@nazarhussain nazarhussain self-assigned this Jun 13, 2022
@nazarhussain nazarhussain linked an issue Jun 13, 2022 that may be closed by this pull request
13 tasks
@nazarhussain nazarhussain added the 4.x 4.0 related label Jun 13, 2022
Copy link
Contributor

@jdevcs jdevcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of tests are failing and needs to be fixed:

Cannot find name 'Web3PromiEvent'.

@nazarhussain nazarhussain requested a review from jdevcs June 14, 2022 10:34
import { IbanOptions } from './types';
import { Web3Iban } from './web3_iban';

export class Iban {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need this refactor to new file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To have a consistent pattern around the code base. To have classes in files as their names. It's easy to search in the code.

@nazarhussain nazarhussain requested a review from jdevcs June 14, 2022 12:58
@nazarhussain nazarhussain merged commit ce2269e into 4.x Jun 16, 2022
@nazarhussain nazarhussain deleted the nh/5125-4.x-refactor branch June 16, 2022 15:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

4.x 4.0 related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improvements to make 4.x compatible with different projects

6 participants